import type { Dayjs } from 'dayjs';

import type { PageParam, TenantModel } from './base_beans';

/** 用户信息 */
interface SysPostBase extends TenantModel {
  post_id?: string;
  post_name?: string;
  post_code?: string;
  dept_id?: string;
}

interface SysPostReq extends SysPostBase, PageParam {
  create_time_range?: [Dayjs, Dayjs] | [string, string];
  update_time_range?: [Dayjs, Dayjs] | [string, string];
}

interface SysPostResp extends SysPostBase {}

export type { SysPostBase, SysPostReq, SysPostResp };
